package com.zyy.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zyy.demo.entity.User;
import com.zyy.demo.request.UserLoginRequest;
import com.zyy.demo.request.UserRequest;
import com.zyy.demo.response.UserResponse;

public interface UserService extends IService<User> {

    /**
     * 用户注册
     * @return
     */
    Boolean addUser(UserRequest userRequest);

    /**
     * 用户注销
     * @return
     */
    Boolean delUser(String iphone);

    UserResponse login(UserLoginRequest userLoginRequest );




}
